﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Solar.Core;

namespace Application.Domain
{
    public class Category : DomainEntity<int>
    {
        public virtual string Name { get; set; }
        public virtual string Code { get; set; }
        public virtual bool IsDisabled { get; set; }
        public virtual int Rank { get; set; }
        public virtual bool IsRoot { get; set; }

        public virtual IList<Article> Articles { get; set; }
        public virtual IList<Album> Albums { get; set; }
    }
}
